package com.zjp.pojo;

import lombok.ToString;

import java.util.Date;
@ToString
public class DetectionPoint {
    private Integer detectionid;

    private Long areaid;

    private String detailedAddress;

    private String name;

    private Date starttime;

    private Date endtime;

    public DetectionPoint(Integer detectionid, Long areaid, String detailedAddress, String name, Date starttime, Date endtime) {
        this.detectionid = detectionid;
        this.areaid = areaid;
        this.detailedAddress = detailedAddress;
        this.name = name;
        this.starttime = starttime;
        this.endtime = endtime;
    }

    public DetectionPoint() {
        super();
    }

    public Integer getDetectionid() {
        return detectionid;
    }

    public void setDetectionid(Integer detectionid) {
        this.detectionid = detectionid;
    }

    public Long getAreaid() {
        return areaid;
    }

    public void setAreaid(Long areaid) {
        this.areaid = areaid;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress == null ? null : detailedAddress.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }
}